import React, { PropTypes } from 'react'
import _ from 'lodash'

function WinItem({ datas, title }) {
  return (
    <div className={`list-box`}>
      <div className="title-box">
        <span>{title}</span>
      </div>
      <ul>
        {
          _.map(datas, (v, k) => {
            return <li key={k}>{v}</li>
          })
        }
      </ul>
    </div>
  )
}

export default WinItem
